package br.edu.ufcg.lsd.wbis.ui.client.ui.loggedin.admin.home;

import br.edu.ufcg.lsd.wbis.ui.client.beans.UserInfo;
import br.edu.ufcg.lsd.wbis.ui.client.ui.loggedin.DefaultPortal;
import br.edu.ufcg.lsd.wbis.ui.client.ui.loggedin.admin.home.authorization.UnauthorizedUsersPortlet;
import br.edu.ufcg.lsd.wbis.ui.client.ui.loggedin.admin.home.info.PersonalInfoPortlet;
import br.edu.ufcg.lsd.wbis.ui.client.ui.management.InfoManager;

import com.gwtext.client.widgets.TabPanel;

/**
 * @author Renato Miceli
 */
public class HomePortal extends DefaultPortal {

	public HomePortal(TabPanel centerPanel, InfoManager<UserInfo> infoManager) {

		this.addPortlet(new PersonalInfoPortlet(infoManager));
		//this.addPortlet(new RandomRegisteredUsersPortlet(centerPanel, infoManager));
		this.addPortlet(new UnauthorizedUsersPortlet(centerPanel, infoManager));
	}

}
